package org.wutopia.leocloud.domain.payment.domain.repository;


import org.springframework.data.repository.CrudRepository;
import org.wutopia.leocloud.domain.payment.domain.Wallet;

import java.util.Optional;

/**
 * 钱包数据仓库
 *
 **/
public interface WalletRepository extends CrudRepository<Wallet, Integer> {

    Optional<Wallet> findByAccountId(Integer accountId);

}
